<?php declare(strict_types=1);
/**
 * Created by IntelliJ IDEA
 * Author: 张伯发
 * Date  : 2019/11/22
 * Time  : 11:55
 */

namespace App\Dto\Response\Members;



/**
 * Class MembersLoginResponseDTO
 * @author 张伯发 2019/11/22 11:55
 */
class MembersMessageResponseDTO
{

    /**
     * @var string
     */
    protected $token;

    /**
     * @var string
     */
    protected $username;

    /**
     * @var string
     */
    protected $nickname;

    /**
     * @var string
     */
    protected $headIcon;

    /**
     * @return string
     */
    public function getUsername(): string
    {
        return $this->username;
    }

    /**
     * @param string $username
     */
    public function setUsername(string $username): void
    {
        $this->username = $username;
    }

    /**
     * @return string
     */
    public function getNickname(): string
    {
        return $this->nickname;
    }

    /**
     * @param string $nickname
     */
    public function setNickname(string $nickname): void
    {
        $this->nickname = $nickname;
    }

    /**
     * @return string
     */
    public function getHeadIcon(): string
    {
        return $this->headIcon;
    }

    /**
     * @param string $headIcon
     */
    public function setHeadIcon(string $headIcon): void
    {
        $this->headIcon = $headIcon;
    }

    /**
     * @return string
     */
    public function getToken(): string
    {
        return $this->token;
    }

    /**
     * @param string $token
     */
    public function setToken(string $token): void
    {
        $this->token = $token;
    }
}
